// 通用API响应类型
export interface BaseResponse<T> {
  code: number
  data: T
  msg: string | null
}

// 分页数据结构
export interface PaginatedData<T> {
  page: number
  items: T[]
  size: number
  total: number
}

// 分页响应类型
export type PaginationResponse<T> = BaseResponse<PaginatedData<T>>

export * from './file'
export * from './battle'
export * from './friend-site'
export * from './skill'
export * from './sun'
export * from './piece'
export * from './process'
export * from './recommend'
